<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <link rel="stylesheet" href="./lib/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/moneyctrlproduct.css">
</head>

<body>
    <div class="view">
        <!-- 头部 -->
        <header>
            <a href="./moneyctrl.html">
                <i class="fa fa-angle-left" aria-hidden="true"></i>
            </a>
            <h1>国内折扣</h1>
            <a href="javascript:;"></a>
        </header>

        <!-- 详情内容 -->
        <section>

            <!-- 模板引擎 id=tmpsection -->

        </section>
        <!-- 评论 -->
        <div class="comment">

            <!-- 模板引擎 id=tmpcomment -->

        </div>

        <!-- 底部 -->
        <footer>
            <div class="f-t-tool">
                <a href="javascript:;">登录</a>
                <a href="javascript:;">注册</a>
                <a href="#">
                    <i class="fa fa-long-arrow-up"></i> 返回顶部</a>
            </div>
            <div class="f-t-bottom">
                <p>
                    <a href="">手机app下载 </a>
                    <a href="">慢慢买手机版 </a>
                    -- 掌上比价平台
                </p>
                <p>m.manmanbuy.com </p>
            </div>
        </footer>
    </div>
</body>
<!-- 模板引擎 -->
<script src="./lib/arttemplate/template-web.js"></script>
<!-- zepto -->
<script src="./lib/zepto/zepto.js"></script>
<!-- 公共js -->
<script src="./js/common.js"></script>
<!-- moneyctrl.js -->
<script src="./js/moneyctrlproduct.js"></script>

<script type="text/template" id="tmpsection">
    {{ each arr value index }}
    <h3>{{value.productName}}</h3>
    <div class="merchant">
        <span>{{value.productFrom}}</span>
        <span>{{value.productTime}}</span>
        <span>{{value.productTips}}</span>
    </div>
    <div class="content clearfix">
        {{@ value.productImgSm}}
        <span>{{value.productInfo}}</span>
    </div>
    <p>{{value.productInfo1}}</p>
    {{@ value.productImgLg}}
    <div class="shoppingGo">
        <a href="javascript:;">
            <span class="fa fa-shopping-cart"></span>
            前往购买</a>
    </div>
    <img class="QRcode" src="./images/mmbweixin2.png" alt=""> {{ /each }}
</script>

<script type="text/template" id="tmpcomment">
    {{ each arr2 value index }}
    {{@ value.productComment }}
    {{ /each }}
</script>

</html>